package com.longer.demo.biz.service;

import com.longer.demo.biz.service.model.UserModel;
import com.longer.demo.framework.error.BusinessException;

/**
 * @program: demo
 * @description:
 * @author: SunBiaoLong
 * @create: 2019-01-11 10:59
 **/
public interface UserService {
	UserModel getUserModelById(Integer id);

	void register(UserModel userModel) throws BusinessException;

	UserModel validate(String phone,String encryptPassword) throws BusinessException;
}
